cmake_minimum_required(VERSION 2.8)

SET(PRJ_NAME 				RegEx)

SET(PRJ_ROOTDIR				${CMAKE_CURRENT_SOURCE_DIR} )

PROJECT(${PRJ_NAME} 		C CXX)

MESSAGE(STATUS "RegEx samples.")

INCLUDE_DIRECTORIES( 
	"${PRJ_ROOTDIR}"
	#"/usr/include/glib-2.0"
	#"/usr/lib64/glib-2.0/include"
)

LINK_DIRECTORIES(
	#"${PRJ_ROOTDIR}/mylib/lib"		#mysql, libstpool
)
	
	SET(cflags	-std=gnu99)
	ADD_DEFINITIONS(${cflags})

	ADD_EXECUTABLE(sample1  ${PRJ_ROOTDIR}/sample1.c )
	ADD_EXECUTABLE(zoneRename  ${PRJ_ROOTDIR}/zoneRename.c )
	#TARGET_LINK_LIBRARIES(sample1   )
